﻿@{
    Layout = null;
}
@model System.Collections.IEnumerable
<!DOCTYPE html>
@Html.Partial("LoadPanelPartial")
<html>
<head>
    <title>Index</title>
         @if (false)
    {
        <script src="../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
    }
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>
    
    @Html.DevExpress().GetStyleSheets(
                new StyleSheet { ExtensionType = ExtensionType.GridView, Theme = DevExpressHelper.Theme }

    )
    @Html.DevExpress().GetScripts(
                    new Script { ExtensionType = ExtensionType.ListBox }
    )
    <script>
        function OnBeginCallback(s, e) {
            e.customArgs["command"] = e.command;
            e.customArgs["pageIndex"] = s.pageIndex;
            e.customArgs["pageCount"] = s.pageCount;
            e.customArgs["pageRowSize"] = s.pageRowSize;
            e.customArgs["pageRowCount"] = s.pageRowCount;
        }

        function UpLevelAllowanceEdit(codeNo) {
            window.location.href = rootPath + '/UpLevelAllowanceAudit/UpLevelAllowanceAuditEdit?FUpLevelAllowanceID=' + codeNo;
        }

        function TaxAuditFormDel(codeNo) {
            //            if (confirm("确定退回此数据？")) {
            //                $.ajax({
            //                    type: 'POST',
            //                    url: rootPath + '/TaxAuditPolicyEval/Return',
            //                    data: { taxAuditId: codeNo },
            //                    success: function (result) {
            //                        if (result == "ok") {
            //                            alert("退回成功");
            //                            gvEditing.Refresh();
            //                        } else if (result == "error") {
            //                            alert("退回失败");
            //                        } else {
            //                            alert("参数错误");
            //                        }
            //                    }
            //                });

            var rs = window.showModalDialog(rootPath + "/ReturnDlg?tableName=t_UpLevelAllowance&id=" + codeNo + "&feq=20");

            if (rs == "S") {
                gvEditing.Refresh();
            }
            //            }
        }
    </script>

</head>
<body>
    <div>

        @Html.Partial("UpLevelAllowanceAuditListPartial", Model)
    <script>
        lp.Hide();
    </script>
    </div>
</body>
</html>
